﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LeMigue.Scrum.TfsScrumV1.Utils
{
    public class WorkItemType
    {
        public static readonly WorkItemType Task = new WorkItemType("Task");
        public static readonly WorkItemType Bug = new WorkItemType("Bug");
        public static readonly WorkItemType Impediment = new WorkItemType("Impediment");
        public static readonly WorkItemType ItemBacklog = new WorkItemType("Product Backlog Item");
        public static readonly WorkItemType SharedSteps = new WorkItemType("Shared Steps");
        public static readonly WorkItemType Sprint = new WorkItemType("Sprint");
        public static readonly WorkItemType TestCase = new WorkItemType("Test Case");

        private string _type;

        static WorkItemType() { }

        private WorkItemType(string type)
        {
            _type = type;
        }

        public override string ToString()
        {
            return _type;
        }
    }
}
